pp108 : onbeforerename Event

onbeforerename Event


This event is fired before a node is renamed.

Syntax

Inline HTML

<div cordysType="wcp.library.ui.Tree"  id=treeID treeData=treeDataID treeSchema=treeSchemaID onbeforerename="handler()" >
...
</div>

Event Property

treeID.onbeforerename = handler


Event Information

To invoke


1.Press the F2 key
2.Double-click on the node
3.Call the rename method for the node


Event Object Properties

Property

Description

returnValue

Boolean. It's default value is True, which allows then node to be renamed.

selectedNode

Object that refers to the node whose description is being renamed


See Also


tree